﻿<%@ Control Language="C#" ClassName="LoaiThoiGianFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
				<td class="literal">Ten Loai Thoi Gian:</td>
				<td>
					<asp:TextBox runat="server" ID="dataTenLoaiThoiGian" Text='<%# Bind("TenLoaiThoiGian") %>' MaxLength="50"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataTenLoaiThoiGian" runat="server" Display="Dynamic" ControlToValidate="dataTenLoaiThoiGian" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Is Active:</td>
				<td>
					<asp:RadioButtonList runat="server" ID="dataIsActive" SelectedValue='<%# Bind("IsActive") %>' RepeatDirection="Horizontal"><asp:ListItem Value="True" Text="Yes" Selected="True"></asp:ListItem><asp:ListItem Value="False" Text="No"></asp:ListItem></asp:RadioButtonList>
				</td>
			</tr>				
			<tr>
				<td class="literal">Last Update:</td>
				<td>
					<asp:TextBox runat="server" ID="dataLastUpdate" Text='<%# Bind("LastUpdate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataLastUpdate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataLastUpdate" runat="server" Display="Dynamic" ControlToValidate="dataLastUpdate" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>				
			<tr>
				<td class="literal">Update By:</td>
				<td>
					<asp:TextBox runat="server" ID="dataUpdateBy" Text='<%# Bind("UpdateBy") %>'></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataUpdateBy" runat="server" Display="Dynamic" ControlToValidate="dataUpdateBy" ErrorMessage="Required"></asp:RequiredFieldValidator><asp:RangeValidator ID="RangeVal_dataUpdateBy" runat="server" Display="Dynamic" ControlToValidate="dataUpdateBy" ErrorMessage="Invalid value" MaximumValue="2147483647" MinimumValue="-2147483648" Type="Integer"></asp:RangeValidator>
				</td>
			</tr>				
			
		</table>

	</ItemTemplate>
</asp:FormView>


